package org.cupk2.zhzm.dto.web;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 知识
 *
 * @author cbtg自动生成  2025-2-4 12:13:51
 */
@Data
@NoArgsConstructor
public class WebKnowDto {

    private String id;
    @NotBlank(message = "{cupk2.validate.template.notnull}")
    @Size(min = 0, max = 256, message = "{cupk2.validate.template.size}")
    private String title;
    @NotBlank(message = "{cupk2.validate.template.notnull}")
    private String text;
    @Size(min = 0, max = 4096, message = "{cupk2.validate.template.size}")
    private String docdescribe;
    private List<WebTagDto> tags;
    private String author;
    private String pubtime;
}